<?php

namespace app\teacher\model;

use app\common\model\BaseModel;
use think\Model;

class InfomationCategory extends BaseModel
{
    public static function getAllOnline()
    {
        return self::field('info_cate_id, title')->where(static::whereOnline())->order(static::WEIGH_DESC)->select();
    }
}
